package com.bzkj.basicinfo.mapper;

import com.bzkj.basicinfo.domain.yxl.Customer;
import com.bzkj.basicinfo.domain.yxl.CustomerDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：swj
 * @Desc
 * @Date：2025/7/21 10:16
 */
public interface YxlCustomerMapper {
    /**
     * 查询客户数据接口
     *
     * @return
     */
    List<Customer> queryCustomerList(@Param("dto") CustomerDto dto);

    /**
     * 查询供应商数据接口
     *
     * @param dto
     * @return
     */
    List<Customer> querySupplierList(@Param("dto") CustomerDto dto);

    /**
     * 查询启用状态的客户数据接口
     *
     * @param dto
     * @return
     */
    List<Customer> queryEnabledCustomerList(@Param("dto") CustomerDto dto);

    Customer queryCustomer(@Param("dto") CustomerDto dto);

    Customer queryYwyAndPsdz(@Param("dto") CustomerDto dto);

}
